<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><%@ taglib prefix="c"
	uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>后台-侧栏</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/style.css">
<script src="../js/check.js"></script>
</head>
<body background="../images/back.gif" style="background-color: white">
	<center>
		<table border="0" width="220" height="auto" cellspacing="0"
			cellpadding="0" style="margin-top: 7; background-color: white">
			<tr>
				<td>欢迎登录 :${sessionScope.user.user_name}</td>
			</tr>
			<tr height="30" bgcolor="#F0F0F0">
				<td style="text-indent: 5" style="border:1 solid"><font
					color="#004790"><b>■用户管理</b></font></td>
			</tr>
			<tr height="1">
				<td></td>
			</tr>
			<form action="userList" method="post" target="default">
				<tr>
					<td align="center" valign="top" style="border: 1 solid">
						<table border="0" width="220" height="80" cellspacing="0"
							style="font-size: 12px">
							<tr height="25">
								<td align="center" valign="bottom">请输入要查询的用户ID：</td>
							</tr>
							<tr height="40">
								<td align="center"><input type="text" name="userid"
									id="userid" value="" size="24" onkeyup="chk_int()"
									onchange="chk_int()" /> <input type="submit" value="查询" /> <script
										type="text/javascript">
                                	function chk_int(){
                                		var a = document.getElementById("userid").value;
                                		if(!checkInteger(a)){
                                			alert('你输入的不是合法的ID');
                                			document.getElementById("userid").value = '';
                                		}
                                	}
                                </script></td>
							</tr>
						</table>
					</td>
				</tr>
			</form>
			<!-- 显示方式 -->
			<tr height="30" bgcolor="#F0F0F0">
				<td style="text-indent: 5; border: 1 solid"><font
					color="#004790"><b>■显示方式</b></font></td>
			</tr>
			<tr height="1">
				<td></td>
			</tr>
			<form id="admin_ListShow_action" name="admin_ListShow_action"
				action="infoList" method="post" target="default">
				<tr>
					<td align="center" valign="top" style="border: 1 solid">
						<table border="0" width="215" height="150" cellspacing="0"
							style="font-size: 12px">
							<tr>
								<td colspan="2">
									<fieldset style="height: 60; width: 200">
										<legend>★付费状态</legend>
										<br> <input type="radio" name="pay"
											id="admin_ListShow_action?_showType_payforType0" value="0" />
										<label for="admin_ListShow_action?_showType_payforType0">未付费</label>
										<input type="radio" name="pay"
											id="admin_ListShow_action?_showType_payforType1" value="1" />
										<label for="admin_ListShow_action?_showType_payforType1">已付费</label>
										<input type="radio" name="pay"
											id="admin_ListShow_action?_showType_payforTypeall"
											value="2" /> <label
											for="admin_ListShow_action?_showType_payforTypeall">全部</label>

									</fieldset>
									<fieldset style="height: 60; width: 200">
										<legend>★审核状态</legend>
										<br> <input type="radio" name="check"
											id="admin_ListShow_action?_showType_stateType0" value="0" />
										<label for="admin_ListShow_action?_showType_stateType0">未审核</label>
										<input type="radio" name="check"
											id="admin_ListShow_action?_showType_stateType1" value="1" />
										<label for="admin_ListShow_action?_showType_stateType1">已审核</label>
										<input type="radio" name="check"
											id="admin_ListShow_action?_showType_stateTypeall" value="2" />
										<label for="admin_ListShow_action?_showType_stateTypeall">全部</label>
									</fieldset>
								</td>
							</tr>
							<tr height="30" bgcolor="lightgrey">
								<td>信息类别： <select name="infoType"
									id="admin_ListShow_action?_showType_infoType">
										<option value="0"></option>
										<c:if test="${empty requestScope.type }">
											<option value="0">无更多分类</option>
										</c:if>
										<c:if test="${!empty requestScope.type }">
											<c:forEach items="${requestScope.type}" var="temp">
												<option value="${temp.type_sign}">${temp.type_name}</option>
											</c:forEach>
										</c:if>
								</select> <input type="submit" id="admin_ListShow_action?_0" value="显示" />

								</td>
							</tr>
						</table>
					</td>
				</tr>
			</form>
			<tr height="5">
				<td></td>
			</tr>
			<!-- 设置已付费信息 -->
			<tr height="30" bgcolor="#F0F0F0">
				<td style="text-indent: 5" style="border:1 solid"><font
					color="#004790"><b>■ID检索处</b></font></td>
			</tr>
			<tr height="1">
				<td></td>
			</tr>
			<form action="infoCheck" target="default">
				<tr>
					<td align="center" valign="top" style="border: 1 solid">
						<table border="0" width="220" height="80" cellspacing="0"
							style="font-size: 12px">
							<tr height="25">
								<td align="center" valign="bottom">通过ID修改信息状态：</td>
							</tr>
							<tr height="40">
								<td align="center"><input type="text" name="id"
									id="moneyID" value="" size="24" onkeyup="chk_int2()"
									onchange="chk_int2()" /> <input type="submit" value="查询"  onclick="return kongValue();" /> <script
										type="text/javascript">
                                	function chk_int2(){
                                		var a = document.getElementById("moneyID").value;
                                		if(!checkInteger(a)){
                                			alert('你输入的不是合法的ID');
                                			document.getElementById("moneyID").value = '';
                                		}
                                	}
                                	function kongValue(){
                                		var a = document.getElementById("moneyID").value;
                                		if(a.length == 0){
                                			alert('ID不能为空！');
                                			return false;
                                		}
                                		return true;
                                	}
                                </script></td>
							</tr>
						</table>
					</td>
				</tr>
			</form>
			<tr height="30" bgcolor="#F0F0F0">
				<td style="text-indent: 5" style="border:1 solid;" width="10"><font
					color="#004790"><b>■日历</b></font></td>
			</tr>
			<tr height="180">
				<td valign="top" align="center"><br /> <iframe
						src="../view/rili.htm" frameBorder="0" width="245" scrolling="no"
						height="180"></iframe></td>
			</tr>
			<tr height="1">
				<td>&nbsp;</td>
			</tr>
		</table>
	</center>
</body>
</html>